package com.cjj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cjj.dao.entity.CommentLike;

import java.util.List;
import java.util.Map;

public interface CommentLikeService extends IService<CommentLike> {
    void likeComment(Long commentId, Long userId);
    void unlikeComment(Long commentId, Long userId);
    boolean hasLiked(Long commentId, Long userId);
    Map<Long, Boolean> batchCheckLikeStatus(List<Long> commentIds, Long userId);
    List<Long> getCommentLikes(Long commentId);

}
